<?php

class Create_Data_Jabatan {

	/**
	 * Make changes to the database.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('sys_user_jabatan', function($table) {

			$table->engine = 'InnoDB';

		    $table->increments('suj_no_auto');
		    $table->string('suj_jabatan_name', 150);
		    $table->string('suj_jabatan_desc', 150);
		    $table->integer('suj_cipta_oleh');
		    $table->integer('suj_kemaskini_oleh');
		    $table->timestamps();

		});
	}

	/**
	 * Revert the changes to the database.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('sys_user_jabatan');
	}

}